home *** CD-ROM | disk | FTP | other *** search
- teky = getProperty("figure", _Y);
- if(pause == "1")
- {
- busy = "1";
- stop();
- }
- if(drop == "1")
- {
- ny = teky / "10";
- if(ny == int(ny))
- {
- if(nfig == "3")
- {
- ny = int(ny) * "10";
- }
- else
- {
- ny = int(ny) * "10" - "5";
- }
- }
- else if(nfig == "3")
- {
- ny = (int(ny) + "1") * "10";
- }
- else
- {
- ny = (int(ny) + "1") * "10" - "5";
- }
- teky = ny;
- nposy = teky;
- setProperty("figure", _Y, nposy);
- busy = "1";
- call("test:test4");
- if(eval("test:result2") eq "nook")
- {
- if(eff == "1")
- {
- tellTarget("effects")
- {
- gotoAndStop("dis");
- play();
- }
- }
- busy = "1";
- setProperty("figure", _Y, nposy - kf);
- gotoAndPlay(11);
- }
- else
- {
- setProperty("figurev", _Y, nposy);
- busy = "0";
- }
- kf = "10";
- drop = "0";
- gotoAndPlay(10);
- }
- tt = teky;
- nposy = teky + kf;
- setProperty("figure", _Y, nposy);
- busy = "1";
- call("test:test4");
- if(eval("test:result2") eq "nook")
- {
- if(eff == "1")
- {
- tellTarget("effects")
- {
- gotoAndStop("dis");
- play();
- }
- }
- busy = "1";
- setProperty("figure", _Y, nposy - kf);
- gotoAndPlay(11);
- }
- else
- {
- setProperty("figurev", _Y, nposy);
- if(pause == "0")
- {
- busy = "0";
- }
- }
-